package com.zr.spring.proxy.jdk;

import com.zr.spring.utils.GenerateClassFile;

public class Solution {

    public static void main(String[] args) {
        Animal animal = new MyHandler(new Dog()).getProxy();
        animal.eat();
        GenerateClassFile.createClassFile("$Proxy0", Animal.class);

    }
}
